//
//  TestWYURLSession.h
//  NSURLSessionTaskStudy
//
//  Created by WuShiHai on 14/11/2016.
//  Copyright © 2016 WY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYURLSession.h"


//notes:
//1.per host have HTTPMaximumConnectionsPerHost connection. eg. one session 'http:www.baidu.com' and 'http:www.google.com' every has HTTPMaximumConnectionsPerHost connection. 
@interface TestWYURLSession : NSObject

//results of part:
//2016-11-14 21:56:49.712 NSURLSessionTaskStudy[1960:198068] 3:success
//2016-11-14 21:56:49.713 NSURLSessionTaskStudy[1960:198068] 1:success
//2016-11-14 21:56:49.714 NSURLSessionTaskStudy[1960:198068] 2:success
//2016-11-14 21:56:49.716 NSURLSessionTaskStudy[1960:198068] 0:success
//2016-11-14 21:56:59.719 NSURLSessionTaskStudy[1960:200062] 4:success
//2016-11-14 21:56:59.721 NSURLSessionTaskStudy[1960:200062] 5:success
//2016-11-14 21:56:59.722 NSURLSessionTaskStudy[1960:200062] 6:success
//2016-11-14 21:56:59.724 NSURLSessionTaskStudy[1960:200062] 7:success
+ (void)monitorMaxTheadNumberPerHost;

//results of part:
//2016-11-14 22:52:17.247 NSURLSessionTaskStudy[3290:381419] 1:success
//2016-11-14 22:52:17.249 NSURLSessionTaskStudy[3290:381419] 8:success
//2016-11-14 22:52:17.250 NSURLSessionTaskStudy[3290:381419] 7:success
//2016-11-14 22:52:17.251 NSURLSessionTaskStudy[3290:381419] 2:success
//2016-11-14 22:52:17.252 NSURLSessionTaskStudy[3290:381419] 0:success
//2016-11-14 22:52:17.253 NSURLSessionTaskStudy[3290:381419] 6:success
//2016-11-14 22:52:17.254 NSURLSessionTaskStudy[3290:381419] 5:success
//2016-11-14 22:52:17.255 NSURLSessionTaskStudy[3290:381419] 3:success
//2016-11-14 22:52:17.255 NSURLSessionTaskStudy[3290:381419] 4:success
//2016-11-14 22:52:17.256 NSURLSessionTaskStudy[3290:381687] 9:success
//2016-11-14 22:52:27.251 NSURLSessionTaskStudy[3290:383258] 10:success
//2016-11-14 22:52:27.252 NSURLSessionTaskStudy[3290:383258] 11:success
//2016-11-14 22:52:27.256 NSURLSessionTaskStudy[3290:383260] 12:success
//2016-11-14 22:52:27.259 NSURLSessionTaskStudy[3290:383260] 13:success
//2016-11-14 22:52:27.260 NSURLSessionTaskStudy[3290:383260] 16:success
//2016-11-14 22:52:27.261 NSURLSessionTaskStudy[3290:383260] 14:success
//2016-11-14 22:52:27.262 NSURLSessionTaskStudy[3290:383259] 15:success
//2016-11-14 22:52:27.262 NSURLSessionTaskStudy[3290:383259] 17:success
//2016-11-14 22:52:27.263 NSURLSessionTaskStudy[3290:383260] 18:success
//2016-11-14 22:52:27.264 NSURLSessionTaskStudy[3290:383258] 19:success
+ (void)monitorMaxTheadNumberPerHostAfterSpecifyNumber;

//results of part:
//2016-11-14 22:05:35.853 NSURLSessionTaskStudy[2076:237845] 31:success
//2016-11-14 22:05:35.853 NSURLSessionTaskStudy[2076:237577] 45:success
//2016-11-14 22:05:35.853 NSURLSessionTaskStudy[2076:237579] 30:success
//2016-11-14 22:05:35.855 NSURLSessionTaskStudy[2076:237607] 47:success
//2016-11-14 22:05:35.862 NSURLSessionTaskStudy[2076:237845] 44:success
//2016-11-14 22:05:35.864 NSURLSessionTaskStudy[2076:237646] 29:success
//2016-11-14 22:05:35.871 NSURLSessionTaskStudy[2076:237595] 60:success
//2016-11-14 22:05:35.878 NSURLSessionTaskStudy[2076:237577] 48:success
//2016-11-14 22:05:35.878 NSURLSessionTaskStudy[2076:237607] 28:success
//2016-11-14 22:05:35.884 NSURLSessionTaskStudy[2076:237577] 49:success
//2016-11-14 22:05:35.884 NSURLSessionTaskStudy[2076:237845] 53:success
//2016-11-14 22:05:35.884 NSURLSessionTaskStudy[2076:237595] 46:success
//2016-11-14 22:05:35.887 NSURLSessionTaskStudy[2076:237579] 56:success
//2016-11-14 22:05:35.887 NSURLSessionTaskStudy[2076:237646] 27:success
//2016-11-14 22:05:35.897 NSURLSessionTaskStudy[2076:237845] 62:success
//2016-11-14 22:05:35.897 NSURLSessionTaskStudy[2076:237846] 54:success
//2016-11-14 22:05:35.898 NSURLSessionTaskStudy[2076:237858] 51:success
//2016-11-14 22:05:35.898 NSURLSessionTaskStudy[2076:237845] 23:success
//2016-11-14 22:05:35.900 NSURLSessionTaskStudy[2076:237860] 63:success
//2016-11-14 22:05:35.902 NSURLSessionTaskStudy[2076:237646] 61:success
//2016-11-14 22:05:35.902 NSURLSessionTaskStudy[2076:237846] 52:success
//2016-11-14 22:05:35.904 NSURLSessionTaskStudy[2076:237858] 0:success
//2016-11-14 22:05:35.923 NSURLSessionTaskStudy[2076:237579] 58:success
//2016-11-14 22:05:35.957 NSURLSessionTaskStudy[2076:237875] 55:success
//2016-11-14 22:05:35.964 NSURLSessionTaskStudy[2076:237846] 64:success
//2016-11-14 22:05:35.964 NSURLSessionTaskStudy[2076:237646] 24:success
//2016-11-14 22:05:35.964 NSURLSessionTaskStudy[2076:237860] 25:success
//2016-11-14 22:05:35.964 NSURLSessionTaskStudy[2076:237845] 50:success
//2016-11-14 22:05:35.965 NSURLSessionTaskStudy[2076:237577] 26:success
//2016-11-14 22:05:35.965 NSURLSessionTaskStudy[2076:237862] 59:success
//2016-11-14 22:05:35.965 NSURLSessionTaskStudy[2076:237861] 20:success
//2016-11-14 22:05:35.966 NSURLSessionTaskStudy[2076:237880] 22:success
//2016-11-14 22:05:35.970 NSURLSessionTaskStudy[2076:237879] 21:success
//2016-11-14 22:05:35.970 NSURLSessionTaskStudy[2076:237858] 9:success
//2016-11-14 22:05:35.971 NSURLSessionTaskStudy[2076:237579] 13:success
//2016-11-14 22:05:35.976 NSURLSessionTaskStudy[2076:237875] 3:success
//2016-11-14 22:05:35.978 NSURLSessionTaskStudy[2076:237859] 17:success
//2016-11-14 22:05:35.978 NSURLSessionTaskStudy[2076:237891] 12:success
//2016-11-14 22:05:35.978 NSURLSessionTaskStudy[2076:237890] 38:success
//2016-11-14 22:05:35.978 NSURLSessionTaskStudy[2076:237897] 6:success
//2016-11-14 22:05:35.979 NSURLSessionTaskStudy[2076:237846] 7:success
//2016-11-14 22:05:35.979 NSURLSessionTaskStudy[2076:237886] 57:success
//2016-11-14 22:05:35.981 NSURLSessionTaskStudy[2076:237860] 18:success
//2016-11-14 22:05:35.982 NSURLSessionTaskStudy[2076:237646] 35:success
//2016-11-14 22:05:35.982 NSURLSessionTaskStudy[2076:237845] 15:success
//2016-11-14 22:05:35.982 NSURLSessionTaskStudy[2076:237577] 4:success
//2016-11-14 22:05:35.983 NSURLSessionTaskStudy[2076:237862] 8:success
//2016-11-14 22:05:35.983 NSURLSessionTaskStudy[2076:237861] 16:success
//2016-11-14 22:05:35.984 NSURLSessionTaskStudy[2076:237880] 34:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237879] 40:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237884] 42:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237858] 11:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237878] 36:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237893] 39:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237892] 71:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237881] 19:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237887] 2:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237885] 70:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237895] 37:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237889] 14:success
//2016-11-14 22:05:35.985 NSURLSessionTaskStudy[2076:237888] 10:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237896] 79:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237894] 67:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237579] 33:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237900] 91:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237901] 1:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237875] 77:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237903] 32:success
//2016-11-14 22:05:35.986 NSURLSessionTaskStudy[2076:237859] 5:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237902] 88:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237904] 81:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237891] 69:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237890] 72:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237905] 82:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237906] 68:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237907] 94:success
//2016-11-14 22:05:35.987 NSURLSessionTaskStudy[2076:237897] 43:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237846] 66:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237908] 83:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237909] 93:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237886] 92:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237860] 96:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237910] 80:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237911] 97:success
//2016-11-14 22:05:35.988 NSURLSessionTaskStudy[2076:237646] 74:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237845] 73:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237913] 98:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237912] 41:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237577] 87:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237915] 90:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237862] 85:success
//2016-11-14 22:05:35.989 NSURLSessionTaskStudy[2076:237916] 89:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237861] 75:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237880] 86:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237917] 65:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237914] 76:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237879] 95:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237918] 78:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237884] 84:success
//2016-11-14 22:05:35.990 NSURLSessionTaskStudy[2076:237919] 99:success
+ (void)monitorMaxTheadNumberPerHostWithMutleSession;

@end
